from functools import wraps


def simple_logger(func):
    """ 二层装饰器：记录函数执行日志 """

    @wraps(func)
    def wrapper(*args, **kwargs):
        print(f"开始执行: {func.__name__}")
        result = func(*args, **kwargs)
        print(f"执行完成: {func.__name__}")

        return result

    return wrapper


@simple_logger
def greet(name):
    print(f"你好, {name}!")
    return f"已问候 {name}"


# 测试
response = greet("张三")
print("返回值:", response)
